Dummy   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 4
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A render 0 2 1
1
import React, { Component } from 'react';
2
import { createStore } from 'redux';
3
import reducer from '../src/module';
4
5
export class Container extends Component {
6
  static fetchData() {
7
    return Promise.resolve('done');
8
  }
9
  render() {
10
    return <div/>;
11
  }
12
}
13
14
export class Dummy extends Component {
15
  render() {
16
    return <div/>;
17
  }
18
}
19
20
export function makeStore(initialState) {
21
  return createStore(reducer, initialState);
22
}
23